﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace T.FAS.Runtime.Base.Entity
{
    /// <summary>
    /// 过滤条件组
    /// </summary>
    [DataContract]
    [Serializable]
    public class QueryFilterGroup
    {
        public string ID { get; set; }
        public string PlanID { get; set; }
        public string GroupID { get; set; }
        [DataMember]
        public FilterRelation Relation { get; set; }
        [DataMember]
        public List<QueryFilter1> Filters { get; set; } = new List<QueryFilter1>();
        [DataMember]
        public List<QueryFilterGroup> Groups { get; set; } = new List<QueryFilterGroup>();
        public int SortOrder { get; set; }
    }
}
